import xlsx from "node-xlsx"

export class Excel{
    export(data:Array<Array<any>>,sheetName:string){
        const buffer=xlsx.build([{
            name:sheetName,
            data:data
        }])
        return buffer;
    }
}